/*** Eclipse Class Decompiler plugin, copyright (c) 2012 Chao Chen (cnfree2000@hotmail.com) ***/
package com.qihoo.psdk.remote;

import android.content.Context;
import java.util.Date;
import java.util.Iterator;
import java.util.Map;
import java.util.Map.Entry;
import java.util.Set;

class h extends Thread {
    public void run() {
        try {
            sleep(720000L);
            com.qihoo.psdk.util.h.a("QInit", "Check activePack and connect status ");
            Iterator localIterator = m.a.entrySet().iterator();
            String str = "";
            k localk = null;
            while (localIterator.hasNext()) {
                Map.Entry localEntry = (Map.Entry) localIterator.next();
                str = (String) localEntry.getKey();
                localk = (k) localEntry.getValue();
                if (new Date().getTime() - localk.b <= 720000L)
                    continue;
                m.a(this.a, localk.c, str);
            }
            if (new Date().getTime() - m.b > 720000L)
                ;
            m.b();
            e.a(this.a, false);
        } catch (Exception localException) {
            com.qihoo.psdk.util.h.a("QInit", localException);
        } catch (Error localError) {
            com.qihoo.psdk.util.h.a("QInit", localError);
        }
    }
}